<template>
  <div>
    <no-ssr>
      <nuxt/>
    </no-ssr>
  </div>
</template>

<script>
export default {
  head() {
    return {
      title: `后台管理 - ${this.$store.state.title}`,
      meta: [
        {
          hid: 'description',
          name: 'description',
          content: `后台管理 - ${this.$store.state.title}`
        }
      ]
    }
  },
  data() {
    return {

    }
  },
  mounted: function() {
    let script = document.createElement('script')
    script.src = 'https://cdn.bootcss.com/canvas-nest.js/1.0.1/canvas-nest.js'
    script.setAttribute('color','255,0,0')
    script.setAttribute('opacity','0.6')
    script.setAttribute('zIndex','-2')
    script.setAttribute('count','99')
    document.documentElement.appendChild(script)
  }
}
</script>

<style lang="less" rel="stylesheet/less" scoped>


</style>
